<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Login</title>
</head>
<body>

<form action="/login" method="post" >
    <input type="text" name="username">请输入登录名</input>
    <input type="password" name="password">请输入密码</input>
    <input type="submit" value="登录"/>
    <div th:text="${msg}"></div>
</form>

</body>
</html>